How to use countif and SUMPRODUCT together in excel